<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html lang="zh-cn">
  <head>
    <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mg</title>
<link rel="stylesheet" href="//cdn.bootcss.com/zui/1.9.0/css/zui.min.css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="/Public/c.css">

  </head>
  <body>
    <!-- 头部 -->
    


    <!-- /头部 -->
    <!-- 主体 -->
    
<div class="row with-padding bg-primary" style="font-size:20px; padding:10px 0px;">
  <div class="col-xs-3 text-center">
    <a href="/index/index" style="color:#ffffff;"><i class="icon-chevron-left"></i></a> 
  </div>
  <div class="col-xs-6 text-center">
    <strong>报告查询</strong>
  </div>
  <div class="col-xs-3 text-center">
    <a href="/user/home" style="color:#ffffff;"><i class="icon-user"></i></a> 
  </div>
</div>
<div><img src="/Public/WX20190418-214546.png" style="width:100%;"></div>
<div class="container" style="margin-top:20px;">
  <?php if(is_array($product_list)): foreach($product_list as $key=>$item): if($item['type'] == 1): ?><div class="panel panel-primary"><?php endif; ?>
  <?php if($item['type'] == 2): ?><div class="panel panel-info"><?php endif; ?>
    <div class="panel-heading"><?php echo ($item["type_name"]); ?></div>
    <div class="panel-body">
      <div class="clearfix">
        <div class="pull-left">
          <p style="font-size:16px;"><?php echo ($item["name"]); ?></p>
          <p class="text-gray"><?php echo ($item["desc"]); ?></p>
          <p class="text-danger"><?php echo ($item['price']/100); ?>元</p>
        </div>
        <div class="pull-right">
          <?php if($item['type'] == 1): ?><div><a href="<?php echo U('/search/report', ['product_id' => $item['id']]);?>" class="btn btn-small btn-primary">报告样例</a></div> 
          <div><a href="<?php echo U('/search/report', ['product_id' => $item['id']]);?>" class="btn btn-small btn-warning" style="margin-top:10px;">立即查询</a></div><?php endif; ?>
          <?php if($item['type'] == 2): ?><div><a href="<?php echo U('/data_platform/index', ['product_id' => $item['id']]);?>" class="btn btn-small btn-info">报告样例</a></div> 
          <div><a href="<?php echo U('/data_platform/index', ['product_id' => $item['id']]);?>" class="btn btn-small btn-warning" style="margin-top:10px;">立即查询</a></div><?php endif; ?>
        </div>
      </div>
    </div>
  </div><?php endforeach; endif; ?>
</div>


    <!-- /主体 -->
    <!-- 底部 -->
    
<script src="//cdn.bootcss.com/zui/1.9.0/lib/jquery/jquery.js"></script>
<script src="//cdn.bootcss.com/zui/1.9.0/js/zui.min.js"></script>
<script src="/Public/Tool/qrcode.min.js"></script>


    
<script>
</script>


  </body>
</html>